package com.hostmann.corejava;

public class Student extends Person {
    private String major;
    
    public Student (String aName, String aMajor) {
        super(aName);
        major = aMajor;
    }
    
    public String getDescription () {
        return "student " + super.getName() + ", major is " + major;
    }
}
